#ifndef VIEW_COMPONENT_TOOLS_CDASHBOARD_MCB_H_
#define VIEW_COMPONENT_TOOLS_CDASHBOARD_MCB_H_

#include <QWidget>

#include "ui_CDashboard_MCB.h"

class CDashboard_MCB : public QWidget
{
    Q_OBJECT
public:
    CDashboard_MCB(QWidget *parent = nullptr);
    ~CDashboard_MCB();

    Q_INVOKABLE void ResetData();

protected slots:
    void on_btn_GetFirmwareVersion_clicked();
    void on_btn_ResetSystem_clicked();
    void on_btn_ResetDcbAndIpc_clicked();
    void on_btn_ResetDcb_clicked();
    void on_btn_GetUpsPowerSupply_clicked();
    void on_btn_GetTemperature_clicked();
    void on_btn_SetTemperatureThreshold_clicked();
    void on_btn_GetTemperatureThreshold_clicked();
    void on_btn_EnableFan_true_clicked();
    void on_btn_EnableFan_false_clicked();
    void on_btn_GetFanSpeed_clicked();
    void on_btn_GetFanStatus_clicked();
    void on_btn_EnableLamp_0x00_clicked();
    void on_btn_EnableLamp_0x01_clicked();
    void on_btn_EnableLamp_0x02_clicked();
    void on_btn_EnableLamp_0x03_clicked();
    void on_btn_GetLampStatus_clicked();
    void on_btn_EnableDrawer_true_clicked();
    void on_btn_EnableDrawer_false_clicked();
    void on_btn_GetDeliveryBoxDoorStatus_clicked();
    void on_btn_SetDeliveryBoxDoorStatus_true_clicked();
    void on_btn_SetDeliveryBoxDoorStatus_false_clicked();
    void on_btn_EnableDeliveryBoxNumberCheck_clicked();
    void on_btn_DisableDeliveryBoxNumberCheck_clicked();
    void on_btn_GetDeliveryBoxNumber_clicked();
    void on_btn_IsDeliveryBoxFull_clicked();
    void on_btn_OpenArmAndPlcPower_clicked();
    void on_btn_CloseArmAndPlcPower_clicked();
    void on_btn_SetArmAndPlcReportCmd_clicked();
    void on_btn_SetPlcPowerTemperature_clicked();
    void on_btn_GetPlcPowerTemperature_clicked();
    void on_btn_GetMasterDoorStatus_clicked();
    void on_btn_OpenMasterDoor_clicked();
    void on_btn_OpenLock_clicked();
    void on_btn_GetDHT11TemperatureHumidity_clicked();
    void on_btn_SetHighTemperatureAlarmPoint_clicked();
    void on_btn_SetLowTemperatureAlarmPoint_clicked();
    void on_btn_SetCompressorStartingTemperature_clicked();
    void on_btn_SetCompressorReturnTemperature_clicked();
    void on_btn_SetHeaterStartingTemperature_clicked();
    void on_btn_SetHeaterReturnTemperature_clicked();
    void on_btn_GetTemperatureProbeStatus_clicked();
    void on_btn_SetHeaterCriticalTemperature_clicked();
    void on_btn_GetHeaterOption_clicked();
    void on_btn_GetHeaterEnviromentTemperature_clicked();
    void on_btn_EnableHeater_true_clicked();
    void on_btn_EnableHeater_false_clicked();
    void on_btn_GetHeaterFirmwareVersion_clicked();

private:
    Ui::CDashboard_MCB ui;
};

#endif  // VIEW_COMPONENT_TOOLS_CDASHBOARD_MCB_H_